package com.cargohu.aishouyu.member.service;

import com.cargohu.aishouyu.framework.page.Paging;
import com.cargohu.aishouyu.framework.service.BaseService;
import com.cargohu.aishouyu.member.dto.ChatPhraseLabelAddDTO;
import com.cargohu.aishouyu.member.dto.ChatPhraseLabelUpdateDTO;
import com.cargohu.aishouyu.member.entity.ChatPhraseLabel;
import com.cargohu.aishouyu.member.req.ChatPhraseLabelRequest;
import com.cargohu.aishouyu.member.resp.ChatPhraseLabelDetailVo;
import com.cargohu.aishouyu.member.resp.ChatPhraseLabelResponse;

import java.util.List;

/**
 * 聊天常用语标签 服务接口
 *
 * @author yww
 * @since 2023-11-28
 */
public interface ChatPhraseLabelService extends BaseService<ChatPhraseLabel> {

    /**
     * 添加聊天常用语标签
     *
     * @param chatPhraseLabelAddDTO
     * @return
     * @throws Exception
     */
    boolean addChatPhraseLabel(ChatPhraseLabelAddDTO chatPhraseLabelAddDTO) throws Exception;

    /**
     * 修改聊天常用语标签
     *
     * @param chatPhraseLabelUpdateDTO
     * @return
     * @throws Exception
     */
    boolean updateChatPhraseLabel(ChatPhraseLabelUpdateDTO chatPhraseLabelUpdateDTO) throws Exception;

    /**
     * 删除聊天常用语标签
     *
     * @param labelId
     * @return
     * @throws Exception
     */
    boolean deleteChatPhraseLabel(Long labelId) throws Exception;

    /**
     * 聊天常用语标签详情
     *
     * @param labelId
     * @return
     * @throws Exception
     */
    ChatPhraseLabelDetailVo getChatPhraseLabelById(Long labelId) throws Exception;

    /**
     * 聊天常用语标签分页列表
     *
     * @param chatPhraseLabelRequest
     * @return
     * @throws Exception
     */
    Paging<ChatPhraseLabelResponse> getChatPhraseLabelList(ChatPhraseLabelRequest chatPhraseLabelRequest) throws Exception;

    /**
     * 获取所有聊天常用语标签列表
     *
     * @return
     */
    List<ChatPhraseLabelDetailVo> getAllChatPhraseLabelList();

}
